<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>022-文本链接</title>
</head>

<body>
    <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
        <a xlink:href="http://www.runoob.com" target="_blank">
            <text x="0" y="15" fill="red">I love SVG</text>
        </a>
    </svg>
</body>

</html>